home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Game / B / Bolo 0.99.6.sit / Bolo / More information / Sample Code / Std Autopilot / BrainFrame.h < prev    next >
MacBinary  |  1995-01-01  |  1.5 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Jan 1 14:31:08 1995, modified Sun Jan 1 14:31:08 1995, creator Think C, type ASCII, 917 bytes "BrainFrame.h" , at 0x415 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 42 72 61 69 6e 46 | 72 61 6d 65 2e 68 00 00 |..BrainF|rame.h..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 03 95 00 | 00 01 7e ab 2c b3 7c ab |........|..~.,.|.|
|00000060| 2c b3 7c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |,.|.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d9 51 00 00 |........|.....Q..|
|00000080| 2f 2f 20 42 6f 6c 6f 20 | 63 6f 64 65 20 28 43 29 |// Bolo |code (C)|
|00000090| 20 53 74 75 61 72 74 20 | 43 68 65 73 68 69 72 65 | Stuart |Cheshire|
|000000a0| 20 3c 63 68 65 73 68 69 | 72 65 40 63 73 2e 73 74 | <cheshi|re@cs.st|
|000000b0| 61 6e 66 6f 72 64 2e 65 | 64 75 3e 20 31 39 38 37 |anford.e|du> 1987|
|000000c0| 2d 31 39 39 34 2e 0d 2f | 2f 20 41 6c 6c 20 72 69 |-1994../|/ All ri|
|000000d0| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 20 54 |ghts res|erved. T|
|000000e0| 68 69 73 20 63 6f 64 65 | 20 69 73 20 6f 77 6e 65 |his code| is owne|
|000000f0| 64 20 62 79 20 53 74 75 | 61 72 74 20 43 68 65 73 |d by Stu|art Ches|
|00000100| 68 69 72 65 20 61 6e 64 | 20 69 73 20 64 6f 6e 61 |hire and| is dona|
|00000110| 74 65 64 0d 2f 2f 20 66 | 72 65 65 20 6f 66 20 63 |ted.// f|ree of c|
|00000120| 68 61 72 67 65 20 66 6f | 72 20 6e 6f 6e 2d 63 6f |harge fo|r non-co|
|00000130| 6d 6d 65 72 63 69 61 6c | 20 75 73 65 2e 20 59 6f |mmercial| use. Yo|
|00000140| 75 20 6d 61 79 20 6e 6f | 74 20 75 73 65 20 74 68 |u may no|t use th|
|00000150| 69 73 20 63 6f 64 65 20 | 69 6e 20 61 6e 79 0d 2f |is code |in any./|
|00000160| 2f 20 70 72 6f 64 75 63 | 74 20 73 6f 6c 64 20 66 |/ produc|t sold f|
|00000170| 6f 72 20 63 6f 6d 6d 65 | 72 63 69 61 6c 20 70 72 |or comme|rcial pr|
|00000180| 6f 66 69 74 2c 20 65 78 | 63 65 70 74 20 73 68 61 |ofit, ex|cept sha|
|00000190| 72 65 77 61 72 65 20 70 | 72 69 63 65 64 20 61 74 |reware p|riced at|
|000001a0| 20 24 32 35 20 6f 72 20 | 6c 65 73 73 2e 0d 0d 23 | $25 or |less...#|
|000001b0| 69 6e 63 6c 75 64 65 20 | 3c 41 70 70 6c 65 45 76 |include |<AppleEv|
|000001c0| 65 6e 74 73 2e 68 3e 09 | 09 2f 2f 20 4e 65 65 64 |ents.h>.|.// Need|
|000001d0| 65 64 20 66 6f 72 20 50 | 50 43 53 65 73 73 52 65 |ed for P|PCSessRe|
|000001e0| 66 4e 75 6d 0d 23 69 6e | 63 6c 75 64 65 20 22 42 |fNum.#in|clude "B|
|000001f0| 72 61 69 6e 2e 68 22 09 | 09 09 09 2f 2f 20 4e 65 |rain.h".|...// Ne|
|00000200| 65 64 65 64 20 66 6f 72 | 20 6a 75 73 74 20 61 62 |eded for| just ab|
|00000210| 6f 75 74 20 65 76 65 72 | 79 74 68 69 6e 67 0d 0d |out ever|ything..|
|00000220| 23 64 65 66 69 6e 65 20 | 75 6e 74 69 6c 28 41 29 |#define |until(A)|
|00000230| 20 77 68 69 6c 65 20 28 | 21 28 41 29 29 0d 23 64 | while (|!(A)).#d|
|00000240| 65 66 69 6e 65 20 65 6c | 65 6d 65 6e 74 73 6f 66 |efine el|ementsof|
|00000250| 28 41 29 20 28 73 69 7a | 65 6f 66 28 41 29 2f 73 |(A) (siz|eof(A)/s|
|00000260| 69 7a 65 6f 66 28 28 41 | 29 5b 30 5d 29 29 0d 23 |izeof((A|)[0])).#|
|00000270| 64 65 66 69 6e 65 20 54 | 4f 47 47 4c 45 28 41 29 |define T|OGGLE(A)|
|00000280| 20 28 28 41 29 3d 21 28 | 41 29 29 0d 0d 23 64 65 | ((A)=!(|A))..#de|
|00000290| 66 69 6e 65 20 43 52 45 | 41 54 4f 52 5f 43 4f 44 |fine CRE|ATOR_COD|
|000002a0| 45 20 27 42 46 52 4d 27 | 0d 0d 74 79 70 65 64 65 |E 'BFRM'|..typede|
|000002b0| 66 20 73 74 72 75 63 74 | 20 43 6f 6e 6e 65 63 74 |f struct| Connect|
|000002c0| 69 6f 6e 49 6e 66 6f 0d | 09 7b 0d 09 73 74 72 75 |ionInfo.|.{..stru|
|000002d0| 63 74 20 43 6f 6e 6e 65 | 63 74 69 6f 6e 49 6e 66 |ct Conne|ctionInf|
|000002e0| 6f 20 2a 6e 65 78 74 3b | 0d 09 0d 09 2f 2f 20 50 |o *next;|....// P|
|000002f0| 50 43 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 69 6e |PC conne|ction in|
|00000300| 66 6f 72 6d 61 74 69 6f | 6e 0d 09 50 50 43 53 65 |formatio|n..PPCSe|
|00000310| 73 73 52 65 66 4e 75 6d | 20 42 6f 6c 6f 53 65 73 |ssRefNum| BoloSes|
|00000320| 73 52 65 66 4e 75 6d 3b | 0d 09 75 6e 73 69 67 6e |sRefNum;|..unsign|
|00000330| 65 64 20 6c 6f 6e 67 20 | 42 6f 6c 6f 55 73 65 72 |ed long |BoloUser|
|00000340| 52 65 66 4e 75 6d 3b 0d | 0d 09 2f 2f 20 42 72 61 |RefNum;.|..// Bra|
|00000350| 69 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0d 09 |in infor|mation..|
|00000360| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 3b 0d 09 |WindowPt|r win;..|
|00000370| 50 50 43 50 6f 72 74 52 | 65 63 20 70 6f 72 74 69 |PPCPortR|ec porti|
|00000380| 6e 66 6f 3b 0d 09 0d 09 | 2f 2f 20 42 6f 6c 6f 20 |nfo;....|// Bolo |
|00000390| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 0d 09 42 72 61 |informat|ion..Bra|
|000003a0| 69 6e 49 6e 66 6f 20 2a | 69 6e 66 6f 3b 0d 09 42 |inInfo *|info;..B|
|000003b0| 59 54 45 20 20 20 20 6c | 61 73 74 5f 64 69 72 3b |YTE l|ast_dir;|
|000003c0| 0d 09 57 4f 52 4c 44 5f | 58 20 6c 61 73 74 5f 78 |..WORLD_|X last_x|
|000003d0| 3b 0d 09 57 4f 52 4c 44 | 5f 59 20 6c 61 73 74 5f |;..WORLD|_Y last_|
|000003e0| 79 3b 0d 09 75 5f 6c 6f | 6e 67 20 20 6c 61 73 74 |y;..u_lo|ng last|
|000003f0| 5f 54 65 72 72 61 69 6e | 43 68 65 63 6b 53 75 6d |_Terrain|CheckSum|
|00000400| 3b 0d 09 7d 20 43 6f 6e | 6e 65 63 74 69 6f 6e 49 |;..} Con|nectionI|
|00000410| 6e 66 6f 3b 0d 00 00 00 | 00 00 00 00 00 00 00 00 |nfo;....|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000490| ac 46 69 78 32 53 6d 61 | 6c 6c 46 72 61 63 74 00 |.Fix2Sma|llFract.|
|000004a0| 01 84 44 54 49 6e 73 74 | 61 6c 6c 00 02 e2 50 6f |..DTInst|all...Po|
|000004b0| 0c 42 72 61 69 6e 46 72 | 61 6d 65 2e 68 0f 02 00 |.BrainFr|ame.h...|
|000004c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000004d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 ab e6 5a b9 00 00 | 00 00 00 00 01 7e 65 00 |....Z...|.....~e.|
|00000500| 03 c4 43 68 65 63 6b 55 | 70 64 61 74 65 00 00 f7 |..CheckU|pdate...|
|00000510| 53 50 42 53 69 67 6e 4f | 75 74 44 65 76 69 63 65 |SPBSignO|utDevice|
|00000520| 00 03 1c 53 65 74 53 74 | 64 50 72 6f 63 73 00 07 |...SetSt|dProcs..|
|00000530| 27 50 42 48 53 65 74 46 | 4c 6f 63 6b 53 79 6e 63 |'PBHSetF|LockSync|
|00000540| 00 02 7c 53 65 74 41 44 | 42 49 6e 66 6f 00 06 73 |..|SetAD|BInfo..s|
|00000550| 41 45 52 65 6d 6f 76 65 | 53 70 65 63 69 61 6c 48 |AERemove|SpecialH|
|00000560| 61 6e 64 6c 65 72 00 00 | 73 53 65 74 53 63 72 69 |andler..|sSetScri|
|00000570| 70 74 4d 61 6e 61 67 65 | 72 56 61 72 69 61 62 6c |ptManage|rVariabl|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 06 | 00 04 00 88 00 04 01 d6 |........|........|
|000005b0| 02 40 00 88 00 04 01 d6 | 02 40 ab 2c 6d 2c 00 00 |.@......|.@.,m,..|
|000005c0| 02 39 00 00 02 47 00 00 | 00 00 01 00 00 00 01 00 |.9...G..|........|
|000005d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 a4 21 fc |...L...L|...2..!.|
|000005e0| 20 b0 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 | ......2|..MPSR..|
|000005f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 95 02 8c 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+